package com.time.workshop.ui;

import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.TextView;

import com.time.workshop.R;
import com.time.workshop.SuperActivity;
import com.time.workshop.injector.Injector;
import com.time.workshop.injector.V;
import com.time.workshop.utils.CommonUtils;

/**
 * @author fanbaolong
 *  关于我们
 */
public class AboutUsActivity extends SuperActivity{

	@V
	private Button about_titlebar_left_btn;
	@V
	private TextView about_version_text,about_text;

	@Override
	protected void onCreate(Bundle bundle) {
		super.onCreate(bundle);
		setContentView(R.layout.activity_about);

		init();
	}

	private void init() {
		Injector.getInstance().inject(this);
		about_version_text.setText("时间工坊  版本"+CommonUtils.getVersionName(getApplicationContext()));
		about_titlebar_left_btn.setOnClickListener(this);

	}

	public void onClick(View v){
		switch (v.getId()) {
		case R.id.about_titlebar_left_btn:
			back();
			break;

		default:
			break;
		}
	}



}
